prepare-root: tweak log messages to clarify errors
authorLuca BRUNO <luca.bruno@coreos.com>
Thu, 7 Oct 2021 14:40:31 +0000 (14:40 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Thu, 7 Oct 2021 14:56:47 +0000 (14:56 +0000)
commitf4be52ba2423858cf82fb0315bcf9b437c6d7f8f
tree517be69c0abfb4184440611e162bbd97da0db0fd
parentcc70ab27fa3b975823c20c5a31af7c29a4807237
prepare-root: tweak log messages to clarify errors

This rewords errors and log messages in the functions which take care
of preparing sysroot in initramfs.
Depending on the boot flow, it is possible to reach this logic
with a sysroot mounted (unexpectedly) as read-only.
In that case, let's clearly point out the problematic mountpoint.
src/switchroot/ostree-prepare-root.c